package com.alangyun.remind.vo.talent;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class AgeYearsView implements Serializable {

	private Integer year;
	private List<AgeRatioView> ages;
	
	public static AgeYearsView create(int year) {
		AgeYearsView ret= new AgeYearsView();
		ret.year = year;
		ret.ages = new ArrayList<>();
		
		return ret;
	}

	public Integer getYear() {
		return year;
	}

	public void setYear(Integer year) {
		this.year = year;
	}

	public List<AgeRatioView> getAges() {
		return ages;
	}

	public void setAges(List<AgeRatioView> ages) {
		this.ages = ages;
	}

}
